<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: mnapi.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00761.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">mnapi.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03629_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a00761_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:aa0fc668be3f25bef4b8598fafdf1e8a5"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00761.html#aa0fc668be3f25bef4b8598fafdf1e8a5">xxxSetMenu</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a> pMenu, BOOL fRedraw)</td></tr>
<tr class="separator:aa0fc668be3f25bef4b8598fafdf1e8a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeae3672b39ccad053cfc16caf4ed4643"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00761.html#aeae3672b39ccad053cfc16caf4ed4643">xxxSetSystemMenu</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a> pMenu)</td></tr>
<tr class="separator:aeae3672b39ccad053cfc16caf4ed4643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1ef3a2adacb761f24136dc795defa3d"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00761.html#ac1ef3a2adacb761f24136dc795defa3d">xxxSetDialogSystemMenu</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd)</td></tr>
<tr class="separator:ac1ef3a2adacb761f24136dc795defa3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63f0601802243fd72267e3fe24750a6e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00761.html#a63f0601802243fd72267e3fe24750a6e">xxxEndMenu</a> (<a class="el" href="a00899.html#a5af719923cbc128d4841b3b35ff88a75">PMENUSTATE</a> pMenuState)</td></tr>
<tr class="separator:a63f0601802243fd72267e3fe24750a6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="a63f0601802243fd72267e3fe24750a6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63f0601802243fd72267e3fe24750a6e">&#9670;&nbsp;</a></span>xxxEndMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void xxxEndMenu </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00899.html#a5af719923cbc128d4841b3b35ff88a75">PMENUSTATE</a>&#160;</td>
          <td class="paramname"><em>pMenuState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00761_source.html">mnapi.c</a> 第 <a class="el" href="a00761_source.html#l00140">140</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;{</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    BOOL fMenuStateOwner;</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;    <a class="code" href="a02837.html">PPOPUPMENU</a>  ppopup;</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;    <a class="code" href="a02889.html">PTHREADINFO</a> ptiCurrent;</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160; </div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keywordflow">if</span> ((ppopup = pMenuState-&gt;<a class="code" href="a02885.html#abfc93aac8825e9638c90a2fbb8bca855">pGlobalPopupMenu</a>) == NULL) {</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="comment">         * We&#39;re not really in menu mode. This can happen</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="comment">         *  if we are forced out of menu loop too soon; i.e, from</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;<span class="comment">         *  inside xxxMNGetPopup or xxxTrackPopupMenuEx.</span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;         <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(!pMenuState-&gt;<a class="code" href="a02885.html#a0153e6fcd0d8052211d17aa193efeab0">fInsideMenuLoop</a> &amp;&amp; !pMenuState-&gt;<a class="code" href="a02885.html#af3cd369288bb4e9881ded64a60470853">fMenuStarted</a>);</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    }</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    pMenuState-&gt;<a class="code" href="a02885.html#a0153e6fcd0d8052211d17aa193efeab0">fInsideMenuLoop</a> = FALSE;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    pMenuState-&gt;<a class="code" href="a02885.html#af3cd369288bb4e9881ded64a60470853">fMenuStarted</a> = FALSE;</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="comment">     * Mark the popup as destroyed so people will not use it anymore.</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="comment">     * This means that root popups can be marked as destroyed before</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="comment">     * actually being destroyed (nice and confusing).</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    ppopup-&gt;<a class="code" href="a02837.html#ae7274a49cb78fdb7c1f0665fcf883fef">fDestroyed</a> = TRUE;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">     * Determine if this is the menu loop owner before calling back.</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="comment">     * Only the owner can destroy the menu windows</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;   ptiCurrent = <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>();</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;   fMenuStateOwner = (ptiCurrent == pMenuState-&gt;<a class="code" href="a02885.html#ac80253c995012ace1d1b53174231ca28">ptiMenuStateOwner</a>);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; </div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="comment">     * Release mouse capture if we got it in xxxStartMenuState</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keywordflow">if</span> (ptiCurrent-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>-&gt;<a class="code" href="a02869.html#a50df387cc5ba51033fb9e767c430f72f">spwndCapture</a> == pMenuState-&gt;<a class="code" href="a02885.html#abfc93aac8825e9638c90a2fbb8bca855">pGlobalPopupMenu</a>-&gt;<a class="code" href="a02837.html#a472df270c88db7755093cd3ca1d1dee6">spwndNotify</a>) {</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <a class="code" href="a00617.html#a3376b5eb8ec9b507c26d4420b4b52a25">xxxReleaseCapture</a>();</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    }</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; </div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="comment">     * Bail if this is not the menu loop owner</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    <span class="keywordflow">if</span> (!fMenuStateOwner) {</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;xxxEndMenu: Thread %#lx doesn&#39;t own the menu loop&quot;</span>, ptiCurrent);</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    }</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="comment">     * If the menu loop is running on a thread different than the thread</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="comment">     *  that owns spwndNotify, we can have two threads trying to end</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="comment">     *  this menu at the same time.</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    <span class="keywordflow">if</span> (pMenuState-&gt;<a class="code" href="a02885.html#ad88536bb800d21bac1b61e7ab8e1a7d2">fInEndMenu</a>) {</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;xxxEndMenu: already in EndMenu. pMenuState:%#lx&quot;</span>, pMenuState);</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    }</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    pMenuState-&gt;<a class="code" href="a02885.html#ad88536bb800d21bac1b61e7ab8e1a7d2">fInEndMenu</a> = TRUE;</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="keywordflow">if</span> (pMenuState-&gt;<a class="code" href="a02885.html#abfc93aac8825e9638c90a2fbb8bca855">pGlobalPopupMenu</a>-&gt;<a class="code" href="a02837.html#a472df270c88db7755093cd3ca1d1dee6">spwndNotify</a> != NULL) {</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="keywordflow">if</span> (!pMenuState-&gt;<a class="code" href="a02885.html#abfc93aac8825e9638c90a2fbb8bca855">pGlobalPopupMenu</a>-&gt;<a class="code" href="a02837.html#ac77c63f5beb807641133f7edc9f14b5b">fInCancel</a>) {</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;            <a class="code" href="a03590.html#a8217a0141f77655d5a4fdd0aecd5a5fd">xxxMNCancel</a>(pMenuState-&gt;<a class="code" href="a02885.html#abfc93aac8825e9638c90a2fbb8bca855">pGlobalPopupMenu</a>, 0, 0, 0);</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;        }</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        BOOL    fTrackedPopup = ppopup-&gt;<a class="code" href="a02837.html#ac9acbfe225a813c1370b19c7ef4fb649">fIsTrackPopup</a>;</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160; </div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="comment">         * This should do the same stuff as MenuCancelMenus but not send any</span></div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="comment">         * messages...</span></div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;        <a class="code" href="a03590.html#a276dfb2dab9aac12e50a66342a9e68e7">xxxMNCloseHierarchy</a>(ppopup, pMenuState);</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        <span class="keywordflow">if</span> (fTrackedPopup) {</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;            <a class="code" href="a00635.html#a5a00338a3147879f7fa0ecb4a938cd8c">xxxDestroyWindow</a>(ppopup-&gt;<a class="code" href="a02837.html#ab024ffa379ac5c5fb8837ebe4b7fcd39">spwndPopupMenu</a>);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;        }</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;    }</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899_source.html#l01910">tagPOPUPMENU::fDestroyed</a>, <a class="el" href="a00899_source.html#l01930">tagPOPUPMENU::fInCancel</a>, <a class="el" href="a00899_source.html#l02248">tagMENUSTATE::fInEndMenu</a>, <a class="el" href="a00899_source.html#l02246">tagMENUSTATE::fInsideMenuLoop</a>, <a class="el" href="a00899_source.html#l01892">tagPOPUPMENU::fIsTrackPopup</a>, <a class="el" href="a00899_source.html#l02244">tagMENUSTATE::fMenuStarted</a>, <a class="el" href="a00899_source.html#l02243">tagMENUSTATE::pGlobalPopupMenu</a>, <a class="el" href="a00899_source.html#l02273">tagTHREADINFO::pq</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00899_source.html#l02252">tagMENUSTATE::ptiMenuStateOwner</a>, <a class="el" href="a00371_source.html#l00028">RIP_ERROR</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00132">RIPMSG1</a>, <a class="el" href="a00899_source.html#l02166">tagQ::spwndCapture</a>, <a class="el" href="a00899_source.html#l01936">tagPOPUPMENU::spwndNotify</a>, <a class="el" href="a00899_source.html#l01941">tagPOPUPMENU::spwndPopupMenu</a>, <a class="el" href="a00950_source.html#l00117">UserAssert</a>, <a class="el" href="a00635_source.html#l01273">xxxDestroyWindow()</a>, <a class="el" href="a03590_source.html#l01977">xxxMNCancel()</a>, <a class="el" href="a03590_source.html#l01313">xxxMNCloseHierarchy()</a> , 以及 <a class="el" href="a00617_source.html#l00069">xxxReleaseCapture()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03614_source.html#l03809">NtUserEndMenu()</a>, <a class="el" href="a00635_source.html#l01273">xxxDestroyWindow()</a>, <a class="el" href="a00671_source.html#l00728">xxxDWP_DoCancelMode()</a> , 以及 <a class="el" href="a00785_source.html#l00466">xxxMNLoop()</a>.</p>

</div>
</div>
<a id="ac1ef3a2adacb761f24136dc795defa3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1ef3a2adacb761f24136dc795defa3d">&#9670;&nbsp;</a></span>xxxSetDialogSystemMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL xxxSetDialogSystemMenu </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00761_source.html">mnapi.c</a> 第 <a class="el" href="a00761_source.html#l00095">95</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;{</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <a class="code" href="a02625.html">PMENU</a> pMenu;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <a class="code" href="a02553.html">PHE</a> phe;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pwnd);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;    pMenu = pwnd-&gt;<a class="code" href="a02581.html#a6be2d067ba15d4ec8cfc2e87922094f5">head</a>.rpdesk-&gt;spmenuDialogSys;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;    <span class="keywordflow">if</span> (pMenu == NULL) {</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        UNICODE_STRING strMenuName;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        <a class="code" href="a00608.html#a2f03d318ac2c5bd1f77147cebddfaf75">RtlInitUnicodeStringOrId</a>(&amp;strMenuName,</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                MAKEINTRESOURCE(ID_DIALOGSYSMENU));</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        pMenu = <a class="code" href="a00899.html#a53010a6d3530f652eb7b7d22f9113838">xxxClientLoadMenu</a>(NULL, &amp;strMenuName);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        Lock(&amp;pwnd-&gt;<a class="code" href="a02581.html#a6be2d067ba15d4ec8cfc2e87922094f5">head</a>.rpdesk-&gt;spmenuDialogSys, pMenu);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160; </div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="comment">         * Set the owner to NULL to specify system ownership.</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;        <span class="keywordflow">if</span> (pMenu != NULL) {</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;            phe = HMPheFromObject(pMenu);</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;            phe-&gt;<a class="code" href="a02553.html#a9151e22fb7a09159687c55acdeb8be14">pOwner</a> = NULL;</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;            phe = HMPheFromObject(<a class="code" href="a00365.html#aba13e2c42ad782876b82329b41921e4e">_GetSubMenu</a>(pMenu, 0));</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;            phe-&gt;<a class="code" href="a02553.html#a9151e22fb7a09159687c55acdeb8be14">pOwner</a> = NULL;</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        }</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    }</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    Lock(&amp;pwnd-&gt;<a class="code" href="a02581.html#aa9cb183920d0decbae34685c0451ff0f">spmenuSys</a>, pMenu);</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <span class="keywordflow">return</span> (pMenu != NULL);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03752_source.html#l00628">_GetSubMenu()</a>, <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00365_source.html#l01389">tagWND::head</a>, <a class="el" href="a00365_source.html#l01167">_HANDLEENTRY::pOwner</a>, <a class="el" href="a00608_source.html#l00310">RtlInitUnicodeStringOrId()</a>, <a class="el" href="a00365_source.html#l01412">tagWND::spmenuSys</a> , 以及 <a class="el" href="a00899.html#a53010a6d3530f652eb7b7d22f9113838">xxxClientLoadMenu()</a>.</p>

</div>
</div>
<a id="aa0fc668be3f25bef4b8598fafdf1e8a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0fc668be3f25bef4b8598fafdf1e8a5">&#9670;&nbsp;</a></span>xxxSetMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL xxxSetMenu </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a>&#160;</td>
          <td class="paramname"><em>pMenu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>fRedraw</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00761_source.html">mnapi.c</a> 第 <a class="el" href="a00761_source.html#l00027">27</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pwnd);</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pMenu);</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keywordflow">if</span> (!TestwndChild(pwnd)) {</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        Lock(&amp;pwnd-&gt;<a class="code" href="a02581.html#ad680eabbc65eb4d160362e2c73a19994">spmenu</a>, pMenu);</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">         * only redraw the frame if the window is non-minimized --</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">         * even if it&#39;s not visible, we need RedrawFrame to recalc the NC size</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">         *</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">         * Added a check for (redraw) since the MDISetMenu() only needs to</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="comment">         * set the menu and not perform any redraws.</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <span class="keywordflow">if</span> (!TestWF(pwnd, WFMINIMIZED) &amp;&amp; fRedraw)</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            <a class="code" href="a00662.html#a38b1f697e7e6671792909fdfaf988266">xxxRedrawFrame</a>(pwnd);</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    }</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160; </div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <a class="code" href="a00371.html#ae61d954062a9ece52e350e54cad9a23d">RIPERR0</a>(ERROR_CHILD_WINDOW_MENU, <a class="code" href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a>, <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00371_source.html#l00030">RIP_VERBOSE</a>, <a class="el" href="a00371_source.html#l00119">RIPERR0</a>, <a class="el" href="a00365_source.html#l01413">tagWND::spmenu</a> , 以及 <a class="el" href="a00662_source.html#l00165">xxxRedrawFrame()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03614_source.html#l04615">NtUserSetMenu()</a>.</p>

</div>
</div>
<a id="aeae3672b39ccad053cfc16caf4ed4643"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeae3672b39ccad053cfc16caf4ed4643">&#9670;&nbsp;</a></span>xxxSetSystemMenu()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL xxxSetSystemMenu </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#af18dd4dd192e00a176acc4dc89084f34">PMENU</a>&#160;</td>
          <td class="paramname"><em>pMenu</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00761_source.html">mnapi.c</a> 第 <a class="el" href="a00761_source.html#l00065">65</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;{</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pwnd);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pMenu);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    <span class="keywordflow">if</span> (TestWF(pwnd, WFSYSMENU)) {</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        <a class="code" href="a02625.html">PMENU</a> pmenuT = pwnd-&gt;<a class="code" href="a02581.html#aa9cb183920d0decbae34685c0451ff0f">spmenuSys</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordflow">if</span> (Lock(&amp;pwnd-&gt;<a class="code" href="a02581.html#aa9cb183920d0decbae34685c0451ff0f">spmenuSys</a>, pMenu))</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            <a class="code" href="a00776.html#a39c71da1ccf5728e77c34be3cffb99d8">_DestroyMenu</a>(pmenuT);</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <a class="code" href="a00794.html#a4c87c0ec6c754e9cd7e4aea0b3b5ce41">MNPositionSysMenu</a>(pwnd, pMenu);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    }</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <a class="code" href="a00371.html#ae61d954062a9ece52e350e54cad9a23d">RIPERR0</a>(ERROR_NO_SYSTEM_MENU, <a class="code" href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a>, <span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;    <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00776_source.html#l00027">_DestroyMenu()</a>, <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00794_source.html#l00025">MNPositionSysMenu()</a>, <a class="el" href="a00371_source.html#l00030">RIP_VERBOSE</a>, <a class="el" href="a00371_source.html#l00119">RIPERR0</a> , 以及 <a class="el" href="a00365_source.html#l01412">tagWND::spmenuSys</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03614_source.html#l06727">NtUserSetSystemMenu()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa02837_html_ae7274a49cb78fdb7c1f0665fcf883fef"><div class="ttname"><a href="a02837.html#ae7274a49cb78fdb7c1f0665fcf883fef">tagPOPUPMENU::fDestroyed</a></div><div class="ttdeci">DWORD fDestroyed</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01910">userk.h:1910</a></div></div>
<div class="ttc" id="aa02869_html_a50df387cc5ba51033fb9e767c430f72f"><div class="ttname"><a href="a02869.html#a50df387cc5ba51033fb9e767c430f72f">tagQ::spwndCapture</a></div><div class="ttdeci">PWND spwndCapture</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02166">userk.h:2166</a></div></div>
<div class="ttc" id="aa02581_html_aa9cb183920d0decbae34685c0451ff0f"><div class="ttname"><a href="a02581.html#aa9cb183920d0decbae34685c0451ff0f">tagWND::spmenuSys</a></div><div class="ttdeci">struct tagMENU * spmenuSys</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01412">user.h:1412</a></div></div>
<div class="ttc" id="aa02553_html"><div class="ttname"><a href="a02553.html">_HANDLEENTRY</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01165">user.h:1165</a></div></div>
<div class="ttc" id="aa02837_html_a472df270c88db7755093cd3ca1d1dee6"><div class="ttname"><a href="a02837.html#a472df270c88db7755093cd3ca1d1dee6">tagPOPUPMENU::spwndNotify</a></div><div class="ttdeci">struct tagWND * spwndNotify</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01936">userk.h:1936</a></div></div>
<div class="ttc" id="aa00365_html_aba13e2c42ad782876b82329b41921e4e"><div class="ttname"><a href="a00365.html#aba13e2c42ad782876b82329b41921e4e">_GetSubMenu</a></div><div class="ttdeci">PMENU _GetSubMenu(PMENU pMenu, int nPos)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00628">rtl/wow.c:628</a></div></div>
<div class="ttc" id="aa00899_html_a53010a6d3530f652eb7b7d22f9113838"><div class="ttname"><a href="a00899.html#a53010a6d3530f652eb7b7d22f9113838">xxxClientLoadMenu</a></div><div class="ttdeci">PMENU xxxClientLoadMenu(HANDLE hmod, PUNICODE_STRING pstrName)</div></div>
<div class="ttc" id="aa00371_html_ad6b24a3d61abdc148c8751b5c5add686"><div class="ttname"><a href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a></div><div class="ttdeci">#define RIP_VERBOSE</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00030">winerrp.h:30</a></div></div>
<div class="ttc" id="aa02885_html_a0153e6fcd0d8052211d17aa193efeab0"><div class="ttname"><a href="a02885.html#a0153e6fcd0d8052211d17aa193efeab0">tagMENUSTATE::fInsideMenuLoop</a></div><div class="ttdeci">DWORD fInsideMenuLoop</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02246">userk.h:2246</a></div></div>
<div class="ttc" id="aa00371_html_a162a73e20dfabca084a3ebb4581631a8"><div class="ttname"><a href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a></div><div class="ttdeci">#define UserAssert(exp)</div><div class="ttdef"><b>Definition:</b> <a href="a00950_source.html#l00117">usersrv.h:117</a></div></div>
<div class="ttc" id="aa00371_html_afa5f32de88404289ec03cd2c0e61e94f"><div class="ttname"><a href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a></div><div class="ttdeci">#define RIP_ERROR</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00028">winerrp.h:28</a></div></div>
<div class="ttc" id="aa02837_html"><div class="ttname"><a href="a02837.html">tagPOPUPMENU</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01880">userk.h:1880</a></div></div>
<div class="ttc" id="aa00371_html_a31aafffb49dfe98bdc749c9b35c90162"><div class="ttname"><a href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a></div><div class="ttdeci">#define RIPMSG1(flags, szFmt, p1)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00132">winerrp.h:132</a></div></div>
<div class="ttc" id="aa00776_html_a39c71da1ccf5728e77c34be3cffb99d8"><div class="ttname"><a href="a00776.html#a39c71da1ccf5728e77c34be3cffb99d8">_DestroyMenu</a></div><div class="ttdeci">BOOL _DestroyMenu(PMENU pMenu)</div><div class="ttdef"><b>Definition:</b> <a href="a00776_source.html#l00027">mndstry.c:27</a></div></div>
<div class="ttc" id="aa03590_html_a8217a0141f77655d5a4fdd0aecd5a5fd"><div class="ttname"><a href="a03590.html#a8217a0141f77655d5a4fdd0aecd5a5fd">xxxMNCancel</a></div><div class="ttdeci">void xxxMNCancel(PPOPUPMENU ppopupmenu, UINT cmd, BOOL fSend, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a03590_source.html#l01977">kernel/menu.c:1977</a></div></div>
<div class="ttc" id="aa00257_html_a8315d2c807ba18ba9e528c40614b6173"><div class="ttname"><a href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a></div><div class="ttdeci">PTHREADINFO PtiCurrent(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00526">winmgrc.c:526</a></div></div>
<div class="ttc" id="aa00608_html_a2f03d318ac2c5bd1f77147cebddfaf75"><div class="ttname"><a href="a00608.html#a2f03d318ac2c5bd1f77147cebddfaf75">RtlInitUnicodeStringOrId</a></div><div class="ttdeci">void RtlInitUnicodeStringOrId(PUNICODE_STRING pstrName, LPWSTR lpstrName)</div><div class="ttdef"><b>Definition:</b> <a href="a00608_source.html#l00310">base.c:310</a></div></div>
<div class="ttc" id="aa00794_html_a4c87c0ec6c754e9cd7e4aea0b3b5ce41"><div class="ttname"><a href="a00794.html#a4c87c0ec6c754e9cd7e4aea0b3b5ce41">MNPositionSysMenu</a></div><div class="ttdeci">void MNPositionSysMenu(PWND pwnd, PMENU pmenusys)</div><div class="ttdef"><b>Definition:</b> <a href="a00794_source.html#l00025">mnstate.c:25</a></div></div>
<div class="ttc" id="aa02885_html_abfc93aac8825e9638c90a2fbb8bca855"><div class="ttname"><a href="a02885.html#abfc93aac8825e9638c90a2fbb8bca855">tagMENUSTATE::pGlobalPopupMenu</a></div><div class="ttdeci">PPOPUPMENU pGlobalPopupMenu</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02243">userk.h:2243</a></div></div>
<div class="ttc" id="aa03590_html_a276dfb2dab9aac12e50a66342a9e68e7"><div class="ttname"><a href="a03590.html#a276dfb2dab9aac12e50a66342a9e68e7">xxxMNCloseHierarchy</a></div><div class="ttdeci">void xxxMNCloseHierarchy(PPOPUPMENU ppopupmenu, PMENUSTATE pMenuState)</div><div class="ttdef"><b>Definition:</b> <a href="a03590_source.html#l01313">kernel/menu.c:1313</a></div></div>
<div class="ttc" id="aa00371_html_ae61d954062a9ece52e350e54cad9a23d"><div class="ttname"><a href="a00371.html#ae61d954062a9ece52e350e54cad9a23d">RIPERR0</a></div><div class="ttdeci">#define RIPERR0(idErr, flags, szFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00119">winerrp.h:119</a></div></div>
<div class="ttc" id="aa02581_html_a6be2d067ba15d4ec8cfc2e87922094f5"><div class="ttname"><a href="a02581.html#a6be2d067ba15d4ec8cfc2e87922094f5">tagWND::head</a></div><div class="ttdeci">THROBJHEAD head</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01389">user.h:1389</a></div></div>
<div class="ttc" id="aa02837_html_ab024ffa379ac5c5fb8837ebe4b7fcd39"><div class="ttname"><a href="a02837.html#ab024ffa379ac5c5fb8837ebe4b7fcd39">tagPOPUPMENU::spwndPopupMenu</a></div><div class="ttdeci">struct tagWND * spwndPopupMenu</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01941">userk.h:1941</a></div></div>
<div class="ttc" id="aa02625_html"><div class="ttname"><a href="a02625.html">tagMENU</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01992">user.h:1992</a></div></div>
<div class="ttc" id="aa02581_html_ad680eabbc65eb4d160362e2c73a19994"><div class="ttname"><a href="a02581.html#ad680eabbc65eb4d160362e2c73a19994">tagWND::spmenu</a></div><div class="ttdeci">struct tagMENU * spmenu</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01413">user.h:1413</a></div></div>
<div class="ttc" id="aa02885_html_af3cd369288bb4e9881ded64a60470853"><div class="ttname"><a href="a02885.html#af3cd369288bb4e9881ded64a60470853">tagMENUSTATE::fMenuStarted</a></div><div class="ttdeci">DWORD fMenuStarted</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02244">userk.h:2244</a></div></div>
<div class="ttc" id="aa00371_html_a41f433389f20db57f042022a662e96de"><div class="ttname"><a href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a></div><div class="ttdeci">#define RIP_WARNING</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00029">winerrp.h:29</a></div></div>
<div class="ttc" id="aa00662_html_a38b1f697e7e6671792909fdfaf988266"><div class="ttname"><a href="a00662.html#a38b1f697e7e6671792909fdfaf988266">xxxRedrawFrame</a></div><div class="ttdeci">void xxxRedrawFrame(PWND pwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00662_source.html#l00165">drawfrm.c:165</a></div></div>
<div class="ttc" id="aa02553_html_a9151e22fb7a09159687c55acdeb8be14"><div class="ttname"><a href="a02553.html#a9151e22fb7a09159687c55acdeb8be14">_HANDLEENTRY::pOwner</a></div><div class="ttdeci">PVOID pOwner</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01167">user.h:1167</a></div></div>
<div class="ttc" id="aa00635_html_a5a00338a3147879f7fa0ecb4a938cd8c"><div class="ttname"><a href="a00635.html#a5a00338a3147879f7fa0ecb4a938cd8c">xxxDestroyWindow</a></div><div class="ttdeci">BOOL xxxDestroyWindow(PWND pwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00635_source.html#l01273">createw.c:1273</a></div></div>
<div class="ttc" id="aa00617_html_a3376b5eb8ec9b507c26d4420b4b52a25"><div class="ttname"><a href="a00617.html#a3376b5eb8ec9b507c26d4420b4b52a25">xxxReleaseCapture</a></div><div class="ttdeci">BOOL xxxReleaseCapture(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00617_source.html#l00069">capture.c:69</a></div></div>
<div class="ttc" id="aa02889_html_aea8fcdf7513cfa8972ff27524296079b"><div class="ttname"><a href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">tagTHREADINFO::pq</a></div><div class="ttdeci">struct tagQ * pq</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02273">userk.h:2273</a></div></div>
<div class="ttc" id="aa02837_html_ac9acbfe225a813c1370b19c7ef4fb649"><div class="ttname"><a href="a02837.html#ac9acbfe225a813c1370b19c7ef4fb649">tagPOPUPMENU::fIsTrackPopup</a></div><div class="ttdeci">DWORD fIsTrackPopup</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01892">userk.h:1892</a></div></div>
<div class="ttc" id="aa00899_html_a70b09c3e2b495630f4205d34be505afb"><div class="ttname"><a href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a></div><div class="ttdeci">VOID CheckLock(PVOID pobj)</div></div>
<div class="ttc" id="aa02889_html"><div class="ttname"><a href="a02889.html">tagTHREADINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02260">userk.h:2260</a></div></div>
<div class="ttc" id="aa02885_html_ac80253c995012ace1d1b53174231ca28"><div class="ttname"><a href="a02885.html#ac80253c995012ace1d1b53174231ca28">tagMENUSTATE::ptiMenuStateOwner</a></div><div class="ttdeci">struct tagTHREADINFO * ptiMenuStateOwner</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02252">userk.h:2252</a></div></div>
<div class="ttc" id="aa02885_html_ad88536bb800d21bac1b61e7ab8e1a7d2"><div class="ttname"><a href="a02885.html#ad88536bb800d21bac1b61e7ab8e1a7d2">tagMENUSTATE::fInEndMenu</a></div><div class="ttdeci">DWORD fInEndMenu</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02248">userk.h:2248</a></div></div>
<div class="ttc" id="aa02837_html_ac77c63f5beb807641133f7edc9f14b5b"><div class="ttname"><a href="a02837.html#ac77c63f5beb807641133f7edc9f14b5b">tagPOPUPMENU::fInCancel</a></div><div class="ttdeci">DWORD fInCancel</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01930">userk.h:1930</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_2a0a56546b70a0973705719e6a88eab3.html">kernel</a></li><li class="navelem"><a class="el" href="a00761.html">mnapi.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
